<div class="material-items">
    
    <div class="material-body" style="border:1px solid #ccc;">
        <input type="hidden" name="row[material_id]" value="{$row['id']}">
        <div class="material_item item-1 active" data-aid="0" id="appmsg-item-0">
            <div class="appmsg_thumb _thumb" style="background-image:url('{$row['thumb']|default='/assets/img/circle.png'}');"></div>
            <div class="appmsg_text _title">{$row['title']|default='我是标题...'}</div>
        </div>
        <?php if($items):?>
        
        <?php foreach($items as $k=>$item):?>
            <div class="material_item item-last" id="appmsg-item-{$k+1}" data-aid="{$k+1}">
                <div class="item-last-body">
                    <div class="appmsg-title">
                        <strong class="_title">{$item['title']}</strong>
                    </div>
                    <div class="appmsg_thumb">
                        <img class="_thumb" src="{$item['thumb']}">
                    </div>
                </div>
                
            </div>
        <?php endforeach;?>
        <?php endif;?>
    </div>

</div>  